
package gov.nih.nlm.ncbi.soap.eutils.esearch;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}db" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}term" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}WebEnv" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}QueryKey" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}usehistory" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}tool" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}email" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}field" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}reldate" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}mindate" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}maxdate" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}datetype" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}RetStart" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}RetMax" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}rettype" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/esearch}sort" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "db",
    "term",
    "webEnv",
    "queryKey",
    "usehistory",
    "tool",
    "email",
    "field",
    "reldate",
    "mindate",
    "maxdate",
    "datetype",
    "retStart",
    "retMax",
    "rettype",
    "sort"
})
@XmlRootElement(name = "eSearchRequest")
public class ESearchRequest {

    protected String db;
    protected String term;
    @XmlElement(name = "WebEnv")
    protected String webEnv;
    @XmlElement(name = "QueryKey")
    protected String queryKey;
    protected String usehistory;
    protected String tool;
    protected String email;
    protected String field;
    protected String reldate;
    protected String mindate;
    protected String maxdate;
    protected String datetype;
    @XmlElement(name = "RetStart")
    protected String retStart;
    @XmlElement(name = "RetMax")
    protected String retMax;
    protected String rettype;
    protected String sort;

    /**
     * Gets the value of the db property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDb() {
        return db;
    }

    /**
     * Sets the value of the db property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDb(String value) {
        this.db = value;
    }

    /**
     * Gets the value of the term property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTerm() {
        return term;
    }

    /**
     * Sets the value of the term property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTerm(String value) {
        this.term = value;
    }

    /**
     * Gets the value of the webEnv property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getWebEnv() {
        return webEnv;
    }

    /**
     * Sets the value of the webEnv property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setWebEnv(String value) {
        this.webEnv = value;
    }

    /**
     * Gets the value of the queryKey property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getQueryKey() {
        return queryKey;
    }

    /**
     * Sets the value of the queryKey property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setQueryKey(String value) {
        this.queryKey = value;
    }

    /**
     * Gets the value of the usehistory property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getUsehistory() {
        return usehistory;
    }

    /**
     * Sets the value of the usehistory property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setUsehistory(String value) {
        this.usehistory = value;
    }

    /**
     * Gets the value of the tool property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTool() {
        return tool;
    }

    /**
     * Sets the value of the tool property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTool(String value) {
        this.tool = value;
    }

    /**
     * Gets the value of the email property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getEmail() {
        return email;
    }

    /**
     * Sets the value of the email property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setEmail(String value) {
        this.email = value;
    }

    /**
     * Gets the value of the field property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getField() {
        return field;
    }

    /**
     * Sets the value of the field property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setField(String value) {
        this.field = value;
    }

    /**
     * Gets the value of the reldate property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getReldate() {
        return reldate;
    }

    /**
     * Sets the value of the reldate property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setReldate(String value) {
        this.reldate = value;
    }

    /**
     * Gets the value of the mindate property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMindate() {
        return mindate;
    }

    /**
     * Sets the value of the mindate property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMindate(String value) {
        this.mindate = value;
    }

    /**
     * Gets the value of the maxdate property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMaxdate() {
        return maxdate;
    }

    /**
     * Sets the value of the maxdate property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMaxdate(String value) {
        this.maxdate = value;
    }

    /**
     * Gets the value of the datetype property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDatetype() {
        return datetype;
    }

    /**
     * Sets the value of the datetype property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDatetype(String value) {
        this.datetype = value;
    }

    /**
     * Gets the value of the retStart property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRetStart() {
        return retStart;
    }

    /**
     * Sets the value of the retStart property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRetStart(String value) {
        this.retStart = value;
    }

    /**
     * Gets the value of the retMax property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRetMax() {
        return retMax;
    }

    /**
     * Sets the value of the retMax property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRetMax(String value) {
        this.retMax = value;
    }

    /**
     * Gets the value of the rettype property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRettype() {
        return rettype;
    }

    /**
     * Sets the value of the rettype property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRettype(String value) {
        this.rettype = value;
    }

    /**
     * Gets the value of the sort property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSort() {
        return sort;
    }

    /**
     * Sets the value of the sort property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSort(String value) {
        this.sort = value;
    }

}
